package com.iie.bigVideo.mapper;

import com.iie.bigVideo.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author XXX
 * @since 2023-11-19
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    SysUser queryByUserName(@Param("userName") String userName);

    SysUser queryByUserId(@Param("id") int id);

    Boolean updateByUserId(@Param("id") int id, @Param("password") String password);
}
